/**
 * 
 */
package com.easidea.tim.test.service.saleorder;

import org.junit.Test;

import com.easidea.tim.entity.saleorder.SaleOrder;
import com.easidea.tim.service.saleorder.SaleOrderService;
import com.easidea.tim.test.SpringIntegrationTestCase;

/**
 * @author Harrison
 *
 */
public class SaleOrderTestCase extends SpringIntegrationTestCase{
	
	private SaleOrderService saleOrderService;

	/**
	 * Test method for {@link org.springside.core.service.EntityService#get(java.io.Serializable)}.
	 */
	@Test
	public void testGet() {
		assertNotNull(saleOrderService);
		SaleOrder so = saleOrderService.get(new Long(74788));
		assertNotNull(so);
		assertTrue(so.getFlowNo() != null);
	}

	/**
	 * @return the saleOrderService
	 */
	public SaleOrderService getSaleOrderService() {
		return saleOrderService;
	}

	/**
	 * @param saleOrderService the saleOrderService to set
	 */
	public void setSaleOrderService(SaleOrderService saleOrderService) {
		this.saleOrderService = saleOrderService;
	}

}
